home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 86 / PC Zone #086.7z / Dppcz0200.mdf / Editor.ial / Messiah / messiahpatch.exe / data1.cab / Program_Executable_Files / messiahscripts / Particles / particle.hxx < prev    next >
Text File  |  1999-11-28  |  58KB  |  2,943 lines

  1.  
  2. /*
  3.   VERY IMPORTANT NOTE: Until i fix my shit, do not disturb the order of the first 7 particle types!
  4.   Yeah,yeah i know .....shaddap ...it'll be fixed soon-ish!!!
  5. */
  6.  
  7.  
  8.  
  9. //newest:
  10. //        rebound(factor,settle)    settle==1 collision optimization ..cool! (horizontal settle)
  11. //        tridi(false,displace)    you can z displace (aligned to the viewcam) a sprite so it doesn't cut into scenery, ie: i use it on explosions
  12. //                                NOTE: if displace is set to true on a polystrip, then that does something quite specific, come ask me!!
  13. //
  14. //        flipuv(false,false,false,false) <---- LAST TWO PARAMETERS MUST ALWAYS BE FALSE!
  15. //
  16. //        follow(true)            -- use the actors matrix when available every frame, not just the spawn frame!
  17. //                                -- hint: use for particles displayed for 1 frame only ,not wise for some types though!
  18. //        scalar(2,startXsize,startYsize)
  19. //        scale(x,y,random?)
  20. //        priority: 0=always, 1=maybe
  21. //        trans: second param is a frame number to swap transparancy type on, 0 means no swap
  22. //        rotate: last flag = alternate rotation flip flop
  23. //        fliccontrol: the last parameter when set to 'true' and while animated is set to 'false' will select
  24. //                        a random frame from the flic!!
  25. //        flipuv(true,false);
  26. //        func(hrout,vrout);        //ask me!!
  27. //        collision(true,0);        //true/false,calc every nth frame (0 = every frame,1=every other frame,etc..)
  28. //        spawnfromstart(true);
  29. //    all spans come from orig start pos, not current pos
  30.  
  31. //name,operation,position,inertia,controlroutine
  32. //where operation can be: -1 (static), 0 (root matrix), >=1 (bone matrix)
  33. //controlroutine is either an actor or -1
  34. //spawnparticle(NewparticleTest,-1,GactorPos,GactorIne,controlroutine);
  35.  
  36. //polystrips: NOTE: uses scale differently: 
  37. //   xscale is used for distance of 1st strip, yscale is used for height of all strips
  38.  
  39. //flicontrol: animate,start frame,play speed,play direction
  40. //trans: 0=add,1=sub,2=none
  41. //polystrip: true?,use texture?
  42. //Scalar: 0=disable,1=shrinktodeath, 2=growtilldeath
  43. //rndmask: 0=positive only, 1=negative only, 2=pos & neg directions
  44. //killwithactor() added
  45. //sinus(true,inc,range,rnd)
  46.  
  47.  
  48. //NOTE: goofx uses xscale as base and yscale as a randomizer
  49. //random frames are automatically selected for goo FX
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. //---------------------------------------------------------------------------- goo fx
  64. particle(fx_bulletholeglass)
  65. {
  66.         file(fx_bulletholes3header);
  67.         lifespan(3);
  68.         weight(0,0,0);
  69.         scale(15,15,false);
  70.         color(255,255,255,100);
  71.         fader(0,0,0,0);
  72.         trans(0,0);
  73.         priority(0);
  74.         follow(false);
  75. }
  76.  
  77. particle(fx_bulletholecrack)
  78. {
  79.         file(fx_bulletholesheader);
  80.         lifespan(3);
  81.         weight(0,0,0);
  82.         scale(12,12,false);
  83.         color(255,255,255,100);
  84.         fader(0,0,0,0);
  85.         trans(0,0);
  86.         priority(0);
  87.         follow(false);
  88. }
  89.  
  90. particle(fx_bullethole)
  91. {
  92.         file(fx_bulletholes2header);
  93.         lifespan(3);
  94.         weight(0,0,0);
  95.         scale(6,6,false);
  96.         color(255,255,255,100);
  97.         fader(0,0,0,0);
  98.         trans(1,0);
  99.         priority(0);
  100.         follow(false);
  101. }
  102.  
  103. particle(fx_bloodstain)
  104. {
  105.         file(fx_bloodstainheader);
  106.         lifespan(3);
  107.         color(255,255,255,100);
  108.         fader(0,0,0,0);
  109.         scale(35,0,false);
  110.         weight(0,0.3,0);
  111.         trans(1,0);
  112.         priority(0);
  113.         follow(false);
  114. }
  115.  
  116. //---------------------------------------------------------------------------- target fx
  117.  
  118. particle(fx_crossin)
  119. {
  120.         file(fx_2crossoutheader);
  121.         lifespan(2);
  122.         collision(false,0);
  123.         rebound(0,false);
  124.         coldeath(false);
  125.         spawn(false);
  126.         rotatewithdir(false);
  127.         polystrip(false,false);
  128.         tridi(false,0);
  129.         rnd(0,0,0,0,0,0);
  130.  
  131.         sinusx(false,0,0,0);
  132.         sinusy(false,0,0,0);
  133.         sinusz(false,0,0,0);
  134.  
  135.         weight(0,0,0);
  136.         angle(0,0,0);
  137.         rotate(0,0,0,false);
  138.         scale(5,5,false);
  139.         fliccontrol(false,0,1,0);
  140.         color(255,101,17,255);
  141.         fader(0,0,0,0);
  142.         trans(0,0);
  143.         scalar(0,2,2);
  144.         killwithactor(false);
  145.  
  146.         func(-1,-1,-1);
  147.         flipuv(false,false,false,false);
  148.         priority(0);
  149.         follow(false);
  150. }
  151.  
  152.  
  153. particle(fx_crossout)
  154. {
  155.         file(fx_2crossoutheader);
  156.         lifespan(2);
  157.         collision(false,0);
  158.         rebound(0,false);
  159.         coldeath(false);
  160.         spawn(false);
  161.         rotatewithdir(false);
  162.         polystrip(false,false);
  163.         tridi(false,0);
  164.         rnd(0,0,0,0,0,0);
  165.  
  166.         sinusx(false,0,0,0);
  167.         sinusy(false,0,0,0);
  168.         sinusz(false,0,0,0);
  169.  
  170.         weight(0,0,0);
  171.         angle(0,0,0);
  172.         rotate(0,0,0,false);
  173.         scale(14,14,false);
  174.         fliccontrol(false,0,1,0);
  175.         color(255,255,0,255);
  176.         fader(0,0,0,0);
  177.         trans(0,0);
  178.         scalar(0,2,2);
  179.         killwithactor(false);
  180.  
  181.         func(-1,-1,-1);
  182.         flipuv(false,false,false,false);
  183.         priority(0);
  184.         follow(false);
  185. }
  186.  
  187. particle(fx_skull)
  188. {
  189.         file(fx_skullheader);
  190.         lifespan(2);
  191.         collision(false,0);
  192.         rebound(0,false);
  193.         coldeath(false);
  194.         spawn(false);
  195.         rotatewithdir(false);
  196.         polystrip(false,false);
  197.         tridi(false,0);
  198.         rnd(0,0,0,0,0,0);
  199.  
  200.         sinusx(false,0,0,0);
  201.         sinusy(false,0,0,0);
  202.         sinusz(false,0,0,0);
  203.  
  204.         weight(0,0,0);
  205.         angle(0,0,0);
  206.         rotate(0,0,0,false);
  207.         scale(3,3,false);
  208.         fliccontrol(false,0,1,0);
  209.         color(255,255,255,128);
  210.         fader(0,0,0,0);
  211.         trans(0,0);
  212.         scalar(0,2,2);
  213.         killwithactor(false);
  214.  
  215.         func(-1,-1,-1);
  216.         flipuv(false,false,false,false);
  217.         priority(0);
  218.         follow(false);
  219. }
  220.  
  221.  
  222. //---------------------------------------------------------------------------- slugwake fx
  223.  
  224. particle(fx_slugwake)
  225. {
  226.         file(fx_slugwakeheader);
  227.         lifespan(64);
  228.         collision(false,0);
  229.         rebound(0,false);
  230.         coldeath(false);
  231.  
  232.         spawn(false);
  233.         rotatewithdir(false);
  234.         polystrip(false,false);
  235.         tridi(true,0);
  236.         rnd(0,0,0,0,0,0);
  237.  
  238.         sinusx(false,0,0,0);
  239.         sinusy(false,0,0,0);
  240.         sinusz(false,0,0,0);
  241.  
  242.         weight(0,0,0);
  243.         angle(1024,0,0);
  244.         rotate(0,0,0,false);
  245.         scale(10,10,true);
  246.         fliccontrol(false,0,0,true);
  247.         color(224,224,255,128);
  248.         fader(0,0,0,2);
  249.         trans(0,0);
  250.         scalar(2,2,2);
  251.         killwithactor(false);
  252.         func(-1,-1,-1);
  253.         flipuv(false,false,false,false);
  254.         priority(1);
  255.         follow(false);
  256. }
  257.  
  258.  
  259.  
  260. //---------------------------------------------------------------------------- riotsheild fx
  261. particle(fx_riotshield256)
  262. {
  263.         file(fx_riotshld256header);
  264.         lifespan(2);
  265.         collision(false,0);
  266.         rebound(0,false);
  267.         coldeath(false);
  268.         spawn(false);
  269.         rotatewithdir(false);
  270.         polystrip(false,false);
  271.         tridi(true,0);
  272.         rnd(0,0,0,0,0,0);
  273.  
  274.         sinusx(false,0,0,0);
  275.         sinusy(false,0,0,0);
  276.         sinusz(false,0,0,0);
  277.  
  278.         weight(0,0,0);
  279.         angle(0,0,0);
  280.         rotate(0,0,0,false);
  281.         scale(0.3125,0.3125,false);
  282.         fliccontrol(false,0,1,0);
  283.         color(255,255,255,255);
  284.         fader(0,0,0,0);
  285.         trans(0,0);
  286.         scalar(0,2,2);
  287.         killwithactor(true);
  288.         func(-1,-1,-1);
  289.         flipuv(false,false,true,false);
  290.         priority(0);
  291.         follow(true);
  292. }
  293.  
  294. //---------------------------------------------------------------------------- bullet fx
  295. particle(fx_bulletshrapnel)
  296. {
  297.         file(fx_bulletshrapnelheader);
  298.         lifespan(32);
  299.         collision(false,0);
  300.         rebound(0,false);
  301.         coldeath(false);
  302.         spawn(false);
  303.  
  304.         rotatewithdir(false);
  305.         polystrip(false,false);
  306.         tridi(true,0);
  307.         rnd(0,0,0,8,16,8);
  308.         rndmask(0,0,0,2,0,2);
  309.  
  310.         sinusx(false,0,0,0);
  311.         sinusy(false,0,0,0);
  312.         sinusz(false,0,0,0);
  313.  
  314.         weight(0.05,0.2,0.05);
  315.         angle(0,0,0);
  316.         rotate(128,128,128,false);
  317.         scale(10,10,true);
  318.         fliccontrol(false,0,0,0);
  319.         color(255,255,255,255);
  320.         fader(0,0,0,1);
  321.         trans(2,0);
  322.         scalar(1,2,2);
  323.         killwithactor(false);
  324.  
  325.         func(-1,-1,-1);
  326.         flipuv(false,false,false,false);
  327.         priority(1);
  328.         follow(false);
  329. }
  330.  
  331. particle(fx_paktracer)
  332. {
  333.         file(fx_paktracerheader);
  334.         lifespan(2);
  335.         collision(false,0);
  336.         rebound(0,false);
  337.         coldeath(false);
  338.         spawn(false);
  339.         rotatewithdir(false);
  340.         polystrip(false,false);
  341.         tridi(true,0);
  342.         rnd(0,0,0,0,0,0);
  343.         rndmask(0,0,0,0,0,0);
  344.  
  345.         sinusx(false,0,0,0);
  346.         sinusy(false,0,0,0);
  347.         sinusz(false,0,0,0);
  348.  
  349.         weight(0,0,0);
  350.         angle(0,0,-1024);
  351.         rotate(512,0,0,false);
  352.         scale(5,5,false);
  353.         fliccontrol(false,0,0,0);
  354.         color(255,255,255,255);
  355.         fader(0,0,0,0);
  356.         trans(0,0);
  357.         scalar(0,2,2);
  358.         killwithactor(true);
  359.         func(-1,-1,-1);
  360.         flipuv(false,false,false,false);
  361.         priority(0);
  362.         follow(false);
  363. }
  364.  
  365. particle(fx_tracer)
  366. {
  367.         file(fx_tracerheader);
  368.         lifespan(24);
  369.         collision(false,0);
  370.         rebound(0,false);
  371.         coldeath(false);
  372.         spawn(false);
  373.         rotatewithdir(false);
  374.         polystrip(false,false);
  375.         tridi(true,0);
  376.         rnd(0,0,0,0,0,0);
  377.         rndmask(0,0,0,0,0,0);
  378.  
  379.         sinusx(false,0,0,0);
  380.         sinusy(false,0,0,0);
  381.         sinusz(false,0,0,0);
  382.  
  383.         weight(0,0,0);
  384.         angle(0,0,-1024);
  385.         rotate(512,0,0,false);
  386.         scale(10,10,false);
  387.         fliccontrol(false,0,0,1);
  388.         color(255,255,255,255);
  389.         fader(0,0,0,0);
  390.         trans(0,0);
  391.         scalar(0,2,2);
  392.         killwithactor(true);
  393.         func(-1,-1,-1);
  394.         flipuv(false,false,false,false);
  395.         priority(0);
  396.         follow(false);
  397. }
  398.  
  399. particle(fx_machinegunshell)
  400. {
  401.         file(fx_gunshellheader);
  402.         lifespan(128);
  403.         collision(true,5);
  404.         rebound(1.2,true);
  405.         coldeath(false);
  406.         spawn(false);
  407.         rotatewithdir(false);
  408.         polystrip(false,false);
  409.         tridi(false,0);
  410.         rnd(0,0,0,2,0,2);
  411.         rndmask(0,0,0,2,0,2);
  412.  
  413.         sinusx(false,0,0,0);
  414.         sinusy(false,0,0,0);
  415.         sinusz(false,0,0,0);
  416.  
  417.         weight(0,0.5,0);
  418.         angle(0,0,0);
  419.         rotate(0,0,256,true);
  420.         scale(2,2,false);
  421.         fliccontrol(true,0,1,0);
  422.         color(240,240,240,255);
  423.         fader(0,0,0,0);
  424.         trans(2,0);
  425.         scalar(0,2,2);
  426.         killwithactor(false);
  427.         func(-1,-1,-1);
  428.         flipuv(false,false,false,false);
  429.         priority(1);
  430.         follow(false);
  431. }
  432.  
  433. particle(fx_machinegunshellAI)
  434. {
  435.         file(fx_gunshellheader);
  436.         lifespan(16);
  437.         collision(false,0);
  438.         rebound(0,false);
  439.         coldeath(false);
  440.         spawn(false);
  441.         rotatewithdir(false);
  442.         polystrip(false,false);
  443.         tridi(false,0);
  444.         rnd(0,0,0,2,0,2);
  445.         rndmask(0,0,0,2,0,2);
  446.  
  447.         sinusx(false,0,0,0);
  448.         sinusy(false,0,0,0);
  449.         sinusz(false,0,0,0);
  450.  
  451.         weight(0,0.5,0);
  452.         angle(0,0,0);
  453.         rotate(0,0,256,true);
  454.         scale(2,2,false);
  455.         fliccontrol(true,0,1,0);
  456.         color(255,255,240,255);
  457.         fader(0,0,0,16);
  458.         trans(2,0);
  459.         scalar(0,2,2);
  460.         killwithactor(false);
  461.         func(-1,-1,-1);
  462.         flipuv(false,false,false,false);
  463.         priority(1);
  464.         follow(false);
  465. }
  466.  
  467. particle(fx_flamethrowerburn)
  468. {
  469.         file(fx_puff2header);
  470.         lifespan(6);
  471.         collision(false,0);
  472.         rebound(0,false);
  473.         coldeath(false);
  474.         spawn(false);
  475.         rotatewithdir(false);
  476.         polystrip(false,false);
  477.         tridi(false,0);
  478.         rnd(0,0,0,0,0,0);
  479.  
  480.         sinusx(false,0,0,0);
  481.         sinusy(false,0,0,0);
  482.         sinusz(false,0,0,0);
  483.  
  484.         weight(0,0,0);
  485.         angle(0,0,0);
  486.         rotate(0,0,0,false);
  487.         scale(12,12,false);
  488.         fliccontrol(true,0,3,0);
  489.         color(192,192,255,255);
  490.         fader(0,0,0,0);
  491.         trans(0,0);
  492.         scalar(2,2,2);
  493.         killwithactor(false);
  494.         func(-1,-1,-1);
  495.         flipuv(false,false,false,false);
  496.         priority(0);
  497.         follow(false);
  498. }
  499.  
  500. particle(fx_flamethrowerroast)
  501. {
  502.         file(fx_xplobig4header);
  503.         lifespan(19);
  504.         collision(true,5);
  505.         rebound(1.2,false);
  506.         coldeath(false);
  507.         spawn(false);
  508.         rotatewithdir(false);
  509.         polystrip(false,false);
  510.         tridi(false,0);
  511.         rnd(0,0,0,0,0,0);
  512.  
  513.         sinusx(false,0,0,0);
  514.         sinusy(false,0,0,0);
  515.         sinusz(false,0,0,0);
  516.  
  517.         weight(0,0,0);
  518.         angle(0,0,0);
  519.         rotate(0,0,0,false);
  520.         scale(18,18,false);
  521.         fliccontrol(true,0,0.5,0);
  522.  
  523.         color(0,0,255,218);
  524.         fader(-12,-7,12,-2);
  525.  
  526.         trans(0,0);
  527.         scalar(2,2,2);
  528.         killwithactor(false);
  529.         func(-1,-1,-1);
  530.  
  531.         flipuv(false,false,false,false);
  532.         priority(0);
  533.         follow(false);
  534. }
  535.  
  536.  
  537. //---------------------------------------------------------------------------- blood fx
  538. //-------relative blood
  539. particle(fx_bloodspurtREL)
  540. {
  541.         file(fx_bloodspurtheader);
  542.         lifespan(7);
  543.         collision(false,0);
  544.         rebound(0,false);
  545.         coldeath(false);
  546.         spawn(false);
  547.         rotatewithdir(false);
  548.         polystrip(false,false);
  549.         tridi(false,0);
  550.         rnd(0,0,0,0,0,0);
  551.  
  552.         sinusx(false,0,0,0);
  553.         sinusy(false,0,0,0);
  554.         sinusz(false,0,0,0);
  555.  
  556.         weight(0,0,0);
  557.         angle(0,0,0);
  558.         rotate(0,0,0,false);
  559.         scale(6,3,false);
  560.         fliccontrol(true,0,0.5,0);
  561.         color(255,255,255,128);
  562.         fader(0,0,0,0);
  563.         trans(1,0);
  564.         scalar(0,2,2);
  565.         killwithactor(false);
  566.  
  567.         func(-1,-1,-1);
  568.         flipuv(false,false,false,false);
  569.         priority(1);
  570.         follow(true);
  571. }
  572.  
  573. particle(fx_bloodREL)
  574. {
  575.         file(Fx_BloodHeader);
  576.         lifespan(64);
  577.         collision(true,5);
  578.         rebound(0,false);
  579.         coldeath(true);
  580.         spawn(true);
  581.         spawnfreq(0.5);
  582.         spawnmax(2);
  583.         spawnrecurs(false);
  584.         spawninertia(true);
  585.         spawnfromstart(true);
  586.         spawnrnd(0,0,0,10,10,10);
  587.         spawnlifespan(48);
  588.         spawnweight(0.05,0.2,0.05);
  589.  
  590.         rotatewithdir(false);
  591.         polystrip(false,false);
  592.         tridi(false,0);
  593.         rnd(0,0,0,10,10,10);
  594.         rndmask(0,0,0,2,0,2);
  595.  
  596.         sinusx(false,0,0,0);
  597.         sinusy(false,0,0,0);
  598.         sinusz(false,0,0,0);
  599.  
  600.         weight(0.05,0.2,0.05);
  601.         angle(0,0,0);
  602.         rotate(0,0,256,true);
  603.         scale(5,5,true);
  604.         fliccontrol(false,11,0.5,0);
  605.         color(255,255,255,255);
  606.         fader(0,0,0,1);
  607.         trans(1,0);
  608.         scalar(0,1,1);
  609.         killwithactor(false);
  610.  
  611.         func(fx_bloodstain,fx_bloodstain,_pFuncBlood);
  612.         flipuv(false,false,false,false);
  613.         priority(0);
  614.         follow(false);            //gurp SHOULD BE TRUE ...collision problems!!
  615. }
  616.  
  617. particle(fx_bloodsprayREL)
  618. {
  619.         file(Fx_BloodHeader);
  620.         lifespan(48);
  621.         collision(false,0);
  622.         rebound(0,false);
  623.         coldeath(false);
  624.         spawn(true);
  625.         spawnfreq(1);
  626.         spawnmax(6);
  627.         spawnrecurs(true);
  628.         spawninertia(false);
  629.         spawnfromstart(true);
  630.         spawnrnd(0,0,0,10,10,10);
  631.         spawnlifespan(48);
  632.         spawnweight(0.05,0.2,0.05);
  633.  
  634.         rotatewithdir(false);
  635.         polystrip(true,false);
  636.         tridi(false,0);
  637.         rnd(0,0,0,10,10,10);
  638.         rndmask(0,0,0,2,0,2);
  639.  
  640.         sinusx(false,0,0,0);
  641.         sinusy(false,0,0,0);
  642.         sinusz(false,0,0,0);
  643.  
  644.         weight(0.05,0.2,0.05);
  645.         angle(0,0,0);
  646.         rotate(0,0,0,false);
  647.         scale(1,1,false);
  648.         fliccontrol(false,11,0.5,0);
  649.         color(148,0,0,112);
  650.         fader(0,0,0,1);
  651.         trans(1,0);
  652.         scalar(0,2,2);
  653.         killwithactor(false);
  654.  
  655.         func(-1,-1,-1);
  656.         flipuv(false,false,false,false);
  657.         priority(1);
  658.         follow(true);
  659. }
  660.  
  661.  
  662.  
  663. //-------absolute blood
  664. particle(fx_bloodspurt)
  665. {
  666.         file(fx_bloodspurtheader);
  667.         lifespan(7);
  668.         collision(false,0);
  669.         rebound(0,false);
  670.         coldeath(false);
  671.         spawn(false);
  672.         rotatewithdir(false);
  673.         polystrip(false,false);
  674.         tridi(false,0);
  675.         rnd(0,0,0,0,0,0);
  676.  
  677.         sinusx(false,0,0,0);
  678.         sinusy(false,0,0,0);
  679.         sinusz(false,0,0,0);
  680.  
  681.         weight(0,0,0);
  682.         angle(0,0,0);
  683.         rotate(0,0,0,false);
  684.         scale(6,3,false);
  685.         fliccontrol(true,0,0.5,0);
  686.         color(255,255,255,128);
  687.         fader(0,0,0,0);
  688.         trans(1,0);
  689.         scalar(0,2,2);
  690.         killwithactor(false);
  691.  
  692.         func(-1,-1,-1);
  693.         flipuv(false,false,false,false);
  694.         priority(1);
  695.         follow(false);
  696. }
  697.  
  698. particle(fx_blood)
  699. {
  700.         file(Fx_BloodHeader);
  701.         lifespan(64);
  702.         collision(true,3);
  703.         rebound(0,false);
  704.         coldeath(true);
  705.         spawn(true);
  706.         spawnfreq(0.5);
  707.         spawnmax(2);
  708.         spawnrecurs(false);
  709.         spawninertia(true);
  710.         spawnfromstart(true);
  711.         spawnrnd(0,0,0,10,10,10);        //gurp
  712.         spawnlifespan(48);
  713.         spawnweight(0.1,0.4,0.1);
  714.  
  715.         rotatewithdir(false);
  716.         polystrip(false,false);
  717.         tridi(false,0);
  718.         rnd(0,0,0,10,10,10);
  719.         rndmask(0,0,0,2,0,2);
  720.  
  721.         sinusx(false,0,0,0);
  722.         sinusy(false,0,0,0);
  723.         sinusz(false,0,0,0);
  724.  
  725.         weight(0.1,0.4,0.1);
  726.         angle(0,0,0);
  727.         rotate(0,0,256,true);
  728.         scale(5,5,true);
  729.         fliccontrol(false,11,0.5,0);
  730.         color(255,255,255,255);
  731.         fader(0,0,0,0);
  732.         trans(0,0);
  733.         scalar(0,1,1);
  734.         killwithactor(false);
  735.  
  736.         func(fx_bloodstain,fx_bloodstain,_pFuncBlood);
  737.         flipuv(false,false,false,false);
  738.         priority(0);
  739.         follow(false);
  740. }
  741. particle(fx_bloodlesser)
  742. {
  743.         file(Fx_BloodHeader);
  744.         lifespan(32);
  745.         collision(false,0);
  746.         rebound(0,false);
  747.         coldeath(false);
  748.         spawn(true);
  749.         spawnfreq(0.5);
  750.         spawnmax(2);
  751.         spawnrecurs(false);
  752.         spawninertia(true);
  753.         spawnfromstart(true);
  754.         spawnrnd(0,0,0,10,10,10);        //gurp
  755.         spawnlifespan(24);
  756.         spawnweight(0.1,0.4,0.1);
  757.  
  758.         rotatewithdir(false);
  759.         polystrip(false,false);
  760.         tridi(false,0);
  761.         rnd(0,0,0,10,10,10);
  762.         rndmask(0,0,0,2,0,2);
  763.  
  764.         sinusx(false,0,0,0);
  765.         sinusy(false,0,0,0);
  766.         sinusz(false,0,0,0);
  767.  
  768.         weight(0.1,0.4,0.1);
  769.         angle(0,0,0);
  770.         rotate(0,0,256,true);
  771.         scale(5,5,true);
  772.         fliccontrol(false,11,0.5,0);
  773.         color(255,255,255,255);
  774.         fader(0,0,0,0);
  775.         trans(0,0);
  776.         scalar(0,1,1);
  777.         killwithactor(false);
  778.  
  779.         func(-1,-1,-1);
  780.         flipuv(false,false,false,false);
  781.         priority(1);
  782.         follow(false);
  783. }
  784.  
  785.  
  786. particle(fx_bloodspray)
  787. {
  788.         file(Fx_BloodHeader);
  789.         lifespan(48);
  790.         collision(false,0);
  791.         rebound(0,false);
  792.         coldeath(false);
  793.         spawn(true);
  794.         spawnfreq(1);
  795.         spawnmax(6);
  796.         spawnrecurs(true);
  797.         spawninertia(false);
  798.         spawnfromstart(true);
  799.         spawnrnd(0,0,0,10,10,10);        //gurp
  800.         spawnlifespan(48);
  801.         spawnweight(0.1,0.4,0.1);
  802.  
  803.         rotatewithdir(false);
  804.         polystrip(true,false);
  805.         tridi(false,0);
  806.         rnd(0,0,0,10,10,10);
  807.         rndmask(0,0,0,2,0,2);
  808.  
  809.         sinusx(false,0,0,0);
  810.         sinusy(false,0,0,0);
  811.         sinusz(false,0,0,0);
  812.  
  813.         weight(0.1,0.4,0.1);
  814.         angle(0,0,0);
  815.         rotate(0,0,0,false);
  816.         scale(1,1,false);
  817.         fliccontrol(false,11,0.5,0);
  818.         color(148,0,0,112);
  819.         fader(0,0,0,1);
  820.         trans(1,0);
  821.         scalar(0,2,2);
  822.         killwithactor(false);
  823.  
  824.         func(-1,-1,-1);
  825.         flipuv(false,false,false,false);
  826.         priority(1);
  827.         follow(false);
  828. }
  829.  
  830.  
  831. particle(fx_footbloodspray)
  832. {
  833.         file(Fx_BloodHeader);
  834.         lifespan(32);
  835.         collision(false,0);
  836.         rebound(0,false);
  837.         coldeath(false);
  838.         spawn(true);
  839.         spawnfreq(1);
  840.         spawnmax(4);
  841.         spawnrecurs(true);
  842.         spawninertia(false);
  843.         spawnfromstart(true);
  844.         spawnrnd(0,0,0,6,8,6);
  845.         spawnlifespan(32);
  846.         spawnweight(0.1,0.2,0.1);
  847.  
  848.         rotatewithdir(false);
  849.         polystrip(true,false);
  850.         tridi(false,0);
  851.         rnd(0,0,0,6,8,6);
  852.         rndmask(0,0,0,2,0,2);
  853.  
  854.         sinusx(false,0,0,0);
  855.         sinusy(false,0,0,0);
  856.         sinusz(false,0,0,0);
  857.  
  858.         weight(0.1,0.2,0.1);
  859.         angle(0,0,0);
  860.         rotate(0,0,0,false);
  861.         scale(1,2,false);
  862.         fliccontrol(false,11,0.5,0);
  863.         color(148,0,0,112);
  864.         fader(0,0,0,1);
  865.         trans(1,0);
  866.         scalar(0,2,2);
  867.         killwithactor(false);
  868.  
  869.         func(-1,-1,-1);
  870.         flipuv(false,false,false,false);
  871.         priority(1);
  872.         follow(false);
  873. }
  874.  
  875. //---------------------------------------------------------------------------- other fx
  876.  
  877. particle(fx_electricstrip)
  878. {
  879.         file(fx_stripheader);
  880.         lifespan(2);
  881.         collision(false,0);
  882.         rebound(0,false);
  883.         coldeath(false);
  884.         spawn(false);
  885.         rotatewithdir(false);
  886.  
  887.         sinusx(false,0,0,0);
  888.         sinusy(false,0,0,0);
  889.         sinusz(false,0,0,0);
  890.  
  891.         polystrip(true,true);
  892.         tridi(true,0);
  893.         rnd(0,0,0,0,0,0);
  894.  
  895.         weight(0,0,0);
  896.         angle(0,0,0);
  897.         rotate(0,0,0,false);
  898.         scale(1,40,false);
  899.         fliccontrol(true,0,1,0);
  900.         color(255,0,0,255);
  901.         fader(0,0,0,0);
  902.         trans(0,0);
  903.         scalar(0,2,2);
  904.         killwithactor(false);
  905.         func(-1,-1,-1);
  906.         flipuv(false,false,false,false);
  907.         priority(0);
  908.         follow(false);
  909. }
  910.  
  911. particle(fx_laserstrip)
  912. {
  913.         file(Fx_stripheader);
  914.         lifespan(2);
  915.         collision(false,0);
  916.         rebound(0,false);
  917.         coldeath(false);
  918.         spawn(false);
  919.         rotatewithdir(false);
  920.  
  921.         sinusx(false,0,0,0);
  922.         sinusy(false,0,0,0);
  923.         sinusz(false,0,0,0);
  924.  
  925.         polystrip(true,true);
  926.         tridi(true,0);
  927.         rnd(0,0,0,0,0,0);
  928.  
  929.         weight(0,0,0);
  930.         angle(0,0,0);
  931.         rotate(0,0,0,false);
  932.         scale(1,10,false);
  933.         fliccontrol(false,0,1,0);
  934.         color(255,8,8,128);
  935.         fader(0,0,0,0);
  936.         trans(0,0);
  937.         scalar(0,2,2);
  938.         killwithactor(false);
  939.         func(-1,-1,-1);
  940.         flipuv(false,false,false,false);
  941.         priority(0);
  942.         follow(false);
  943. }
  944.  
  945. particle(fx_Vlaserstrip)
  946. {
  947.         file(Fx_stripheader);
  948.         lifespan(2);
  949.         collision(false,0);
  950.         rebound(0,false);
  951.         coldeath(false);
  952.         spawn(false);
  953.         rotatewithdir(false);
  954.  
  955.         sinusx(false,0,0,0);
  956.         sinusy(false,0,0,0);
  957.         sinusz(false,0,0,0);
  958.  
  959.         polystrip(true,true);
  960.         tridi(true,true);
  961.         rnd(0,0,0,0,0,0);
  962.  
  963.         weight(0,0,0);
  964.         angle(0,0,0);
  965.         rotate(0,0,0,false);
  966.         scale(1,20,false);
  967.         fliccontrol(false,0,1,0);
  968.         color(255,8,8,128);
  969.         fader(0,0,0,0);
  970.         trans(0,0);
  971.         scalar(0,2,2);
  972.         killwithactor(false);
  973.         func(-1,-1,-1);
  974.         flipuv(false,false,false,false);
  975.         priority(0);
  976.         follow(false);
  977. }
  978.  
  979. particle(fx_actorsmoke)
  980. {
  981.         file(fx_smokeyheader);
  982.         lifespan(9);
  983.         collision(false,0);
  984.         rebound(0,false);
  985.         coldeath(false);
  986.         spawn(false);
  987.         /*
  988.         spawnfreq(1);
  989.         spawnmax(19);
  990.         spawnrecurs(false);
  991.         spawninertia(false);
  992.         spawnrnd(15,0,15,2,4,2);
  993.         spawnlifespan(19);
  994.         spawnweight(0,0,0);
  995.         spawnfromstart(true);
  996.         */
  997.  
  998.         rotatewithdir(false);
  999.         polystrip(false,false);
  1000.         tridi(false,0);
  1001.         rnd(20,0,20,3,8,3);
  1002.         rndmask(2,0,2,2,0,2);
  1003.  
  1004.         sinusx(false,0,0,0);
  1005.         sinusy(false,0,0,0);
  1006.         sinusz(false,0,0,0);
  1007.  
  1008.         weight(0,0,0);
  1009.         angle(0,0,0);
  1010.         rotate(0,0,0,false);
  1011.         scale(12,12,false);
  1012.         color(0,255,255,128);
  1013.         fader(0,0,0,0);
  1014.         trans(0,0);
  1015.         fliccontrol(true,0,2,0);
  1016.         scalar(1,2,2);
  1017.         killwithactor(false);
  1018.         func(-1,-1,-1);
  1019.         flipuv(false,false,false,false);
  1020.         priority(1);
  1021.         follow(false);
  1022. }
  1023.  
  1024. particle(fx_actorfire)
  1025. {
  1026.         file(fx_fieryheader);
  1027.         lifespan(9);
  1028.         collision(false,0);
  1029.         rebound(0,false);
  1030.         coldeath(false);
  1031.         spawn(false);
  1032.         /*
  1033.         spawnfreq(1);
  1034.         spawnmax(19);
  1035.         spawnrecurs(false);
  1036.         spawninertia(false);
  1037.         spawnrnd(15,0,15,2,4,2);
  1038.         spawnlifespan(19);
  1039.         spawnweight(0,0,0);
  1040.         spawnfromstart(true);
  1041.         */
  1042.  
  1043.         rotatewithdir(false);
  1044.         polystrip(false,false);
  1045.         tridi(false,0);
  1046.         rnd(15,0,15,4,8,4);
  1047.         rndmask(2,0,2,2,0,2);
  1048.  
  1049.         sinusx(false,0,0,0);
  1050.         sinusy(false,0,0,0);
  1051.         sinusz(false,0,0,0);
  1052.  
  1053.         weight(0,0,0);
  1054.         angle(0,0,0);
  1055.         rotate(0,0,0,false);
  1056.         scale(12,12,false);
  1057.         color(255,255,255,128);
  1058.         fader(0,0,0,0);
  1059.         trans(0,0);
  1060.         fliccontrol(true,0,2,0);
  1061.         scalar(1,2,2);
  1062.         killwithactor(false);
  1063.         func(-1,-1,-1);
  1064.         flipuv(false,false,false,false);
  1065.         priority(1);
  1066.         follow(false);
  1067. }
  1068.  
  1069. particle(fx_evilfire)
  1070. {
  1071.         file(fx_fieryheader);
  1072.         lifespan(19);
  1073.         collision(false,0);
  1074.         rebound(0,false);
  1075.         coldeath(false);
  1076.  
  1077.         spawn(true);
  1078.         spawnfreq(0.5);
  1079.         spawnmax(9);
  1080.         spawnrecurs(false);
  1081.         spawninertia(false);
  1082.         spawnfromstart(true);
  1083.         spawnrnd(10,0,10,3,4,3);
  1084.         spawnlifespan(19);
  1085.         spawnweight(0,0,0);
  1086.  
  1087.         rotatewithdir(false);
  1088.         polystrip(false,false);
  1089.         tridi(false,0);
  1090.         rnd(10,0,10,3,4,3);
  1091.         rndmask(2,0,2,2,0,2);
  1092.  
  1093.         sinusx(false,0,0,0);
  1094.         sinusy(false,0,0,0);
  1095.         sinusz(false,0,0,0);
  1096.  
  1097.         weight(0,0,0);
  1098.         angle(0,0,0);
  1099.         rotate(0,0,0,false);
  1100.         scale(10,10,false);
  1101.         color(255,255,255,192);
  1102.         fader(0,0,0,0);
  1103.         trans(0,0);
  1104.         fliccontrol(true,0,1,0);
  1105.         scalar(2,2,2);
  1106.         killwithactor(false);
  1107.         func(-1,-1,-1);
  1108.         flipuv(false,false,false,false);
  1109.         priority(1);
  1110.         follow(false);
  1111. }
  1112.  
  1113.  
  1114. particle(fx_firejets)
  1115. {
  1116.         file(fx_xplobig3header);
  1117.         lifespan(21);
  1118.         collision(false,0);
  1119.         rebound(0,false);
  1120.         coldeath(false);
  1121.         spawn(false);
  1122.         rotatewithdir(false);
  1123.         polystrip(false,false);
  1124.         tridi(false,0);
  1125.         rnd(0,0,0,0.5,0.5,0.5);
  1126.         rndmask(0,0,0,2,2,2);
  1127.  
  1128.         sinusx(false,0,0,0);
  1129.         sinusy(false,0,0,0);
  1130.         sinusz(false,0,0,0);
  1131.  
  1132.         weight(0,0,0);
  1133.         angle(0,0,0);
  1134.         rotate(0,0,128,true);
  1135.         scale(10,10,false);
  1136.  
  1137. //        color(0,0,255,218);
  1138. //        fader(-12,-7,12,-2);
  1139.  
  1140.         color(0,0,255,255);
  1141.         fader(-12,-7,12,0);
  1142.  
  1143.         trans(0,0);
  1144.         fliccontrol(true,0,1,0);
  1145.         scalar(2,2,2);
  1146.         killwithactor(false);
  1147.         func(-1,-1,-1);
  1148.         flipuv(false,false,false,false);
  1149.         priority(1);
  1150.         follow(false);
  1151. }
  1152.  
  1153.  
  1154. particle(fx_smogjets)
  1155. {
  1156.         file(fx_expcloudheader);
  1157.         lifespan(32);
  1158.         collision(false,0);
  1159.         rebound(0,false);
  1160.         coldeath(false);
  1161.         spawn(false);
  1162.         rotatewithdir(false);
  1163.         polystrip(false,false);
  1164.         tridi(false,0);
  1165.         rnd(0,0,0,0.5,0.5,0.5);
  1166.         rndmask(0,0,0,2,2,2);
  1167.  
  1168.         sinusx(false,0,0,0);
  1169.         sinusy(false,0,0,0);
  1170.         sinusz(false,0,0,0);
  1171.  
  1172.         weight(0,0,0);
  1173.         angle(0,0,0);
  1174.         rotate(0,0,128,true);
  1175.         scale(10,10,false);
  1176.         color(255,255,255,128);
  1177.         fader(0,0,0,4);
  1178.         trans(1,0);
  1179.         fliccontrol(false,0,1,0);
  1180.         scalar(2,2,2);
  1181.         killwithactor(false);
  1182.         func(-1,-1,-1);
  1183.         flipuv(false,false,false,false);
  1184.         priority(1);
  1185.         follow(false);
  1186. }
  1187.  
  1188. particle(fx_Steam)
  1189. {
  1190.         file(Fx_puff2header);
  1191.         lifespan(18);
  1192.         collision(false,0);
  1193.         rebound(0,false);
  1194.         coldeath(false);
  1195.         spawn(false);
  1196.         rotatewithdir(false);
  1197.         polystrip(false,false);
  1198.         tridi(false,0);
  1199.         rnd(0,0,0,0,0,0);
  1200.  
  1201.         sinusx(false,0,0,0);
  1202.         sinusy(false,0,0,0);
  1203.         sinusz(false,0,0,0);
  1204.  
  1205.         weight(0,0,0);
  1206.         angle(0,0,0);
  1207.         rotate(0,0,0,false);
  1208.         scale(15,15,false);
  1209.         color(192,255,192,64);
  1210.         fader(0,0,0,-7);
  1211.         trans(0,0);
  1212.         fliccontrol(true,0,1,0);
  1213.         scalar(0,2,2);
  1214.         killwithactor(false);
  1215.         func(-1,-1,-1);
  1216.         flipuv(false,false,false,false);
  1217.         priority(1);
  1218.         follow(false);
  1219. }
  1220.  
  1221. particle(fx_Steampipes)
  1222. {
  1223.         file(Fx_puff2header);
  1224.         lifespan(28);
  1225.         collision(false,0);
  1226.         rebound(0,false);
  1227.         coldeath(false);
  1228.         spawn(true);
  1229.         spawnfreq(0.5);
  1230.         spawnmax(24);
  1231.         spawnrecurs(false);
  1232.         spawninertia(true);
  1233.         spawnfromstart(true);
  1234.         spawnrnd(0,0,0,0,0,0);
  1235.         spawnlifespan(18);
  1236.         spawnweight(0,0,0);
  1237.  
  1238.         rotatewithdir(false);
  1239.         polystrip(false,false);
  1240.         tridi(false,0);
  1241.         rnd(0,0,0,0,0,0);
  1242.  
  1243.         sinusx(false,0,0,0);
  1244.         sinusy(false,0,0,0);
  1245.         sinusz(false,0,0,0);
  1246.  
  1247.         weight(0,0,0);
  1248.         angle(0,0,0);
  1249.         rotate(0,0,64,true);
  1250.         scale(28,28,false);
  1251.         color(192,255,192,128);
  1252.         fader(0,0,0,5);
  1253.         trans(0,0);
  1254.         fliccontrol(true,0,1,0);
  1255.         scalar(2,2,2);
  1256.         killwithactor(false);
  1257.         func(-1,-1,-1);
  1258.         flipuv(false,false,false,false);
  1259.         priority(1);
  1260.         follow(false);
  1261. }
  1262.  
  1263.  
  1264. //---------------------------------------------------------------------------- misc fx
  1265.  
  1266. particle(fx_chain)
  1267. {
  1268.         file(Fx_chainheader);
  1269.         lifespan(2);
  1270.         collision(false,0);
  1271.         rebound(0,false);
  1272.         coldeath(false);
  1273.         spawn(false);
  1274.         rotatewithdir(false);
  1275.  
  1276.         sinusx(false,0,0,0);
  1277.         sinusy(false,0,0,0);
  1278.         sinusz(false,0,0,0);
  1279.  
  1280.         polystrip(true,true);
  1281.         tridi(true,true);
  1282.         rnd(0,0,0,0,0,0);
  1283.  
  1284.         weight(0,0,0);
  1285.         angle(0,0,0);
  1286.         rotate(0,0,0,false);
  1287.         scale(1,10,false);
  1288.         fliccontrol(false,0,1,0);
  1289.         color(255,255,255,255);
  1290.         fader(0,0,0,0);
  1291.         trans(2,0);
  1292.         scalar(0,2,2);
  1293.         killwithactor(true);
  1294.         func(-1,-1,-1);
  1295.         flipuv(false,false,false,false);
  1296.         priority(0);
  1297.         follow(true);
  1298. }
  1299.  
  1300. particle(fx_possess2)
  1301. {
  1302.         file(fx_stripheader);
  1303.         lifespan(64);
  1304.         collision(false,0);
  1305.         rebound(0,false);
  1306.         coldeath(false);
  1307.         spawn(true);
  1308.         spawnfreq(1);
  1309.         spawnmax(64);
  1310.         spawnrecurs(false);
  1311.         spawninertia(false);
  1312.         spawnrnd(0,0,0,0,0,0);
  1313.         rotatewithdir(false);
  1314.         spawnfromstart(false);
  1315.         spawnlifespan(64);
  1316.         spawnweight(0,0,0);
  1317.  
  1318.         polystrip(true,true);
  1319.         tridi(true,0);
  1320.         rnd(0,0,0,0,0,0);
  1321.  
  1322.         sinusx(false,0,0,0);
  1323.         sinusy(false,0,0,0);
  1324.         sinusz(false,0,0,0);
  1325.  
  1326.         weight(0,0,0);
  1327.         angle(0,0,0);
  1328.         rotate(0,0,0,false);
  1329.         scale(1,8,false);
  1330.         fliccontrol(false,0,0.5,0);
  1331.         color(128,128,128,255);
  1332.         fader(0,0,0,4);
  1333.         trans(0,0);
  1334.         scalar(0,2,2);
  1335.         killwithactor(false);
  1336.         func(-1,-1,-1);
  1337.         flipuv(false,false,false,false);
  1338.         priority(0);
  1339.         follow(true);
  1340. }
  1341.  
  1342. particle(fx_possessflare)
  1343. {
  1344.         file(Fx_FlareHeader);
  1345.         lifespan(64);
  1346.         collision(false,0);
  1347.         rebound(0,false);
  1348.         coldeath(false);
  1349.         spawn(false);
  1350.         rotatewithdir(false);
  1351.         polystrip(false,false);
  1352.         tridi(false,0);
  1353.         rnd(0,0,0,0,0,0);
  1354.  
  1355.         sinusx(true,64,6,true);
  1356.         sinusy(true,64,6,true);
  1357.         sinusz(true,64,6,true);
  1358.  
  1359.         weight(0,0,0);
  1360.         angle(0,0,0);
  1361.         rotate(0,0,0,false);
  1362.         scale(8,8,false);
  1363.         fliccontrol(true,0,1,0);
  1364.         color(255,255,255,255);
  1365.         fader(0,0,0,4);
  1366.         trans(0,0);
  1367.         scalar(0,2,2);
  1368.         killwithactor(false);
  1369.         func(fx_possess2,fx_possess2,_pFuncFollowSinus);
  1370.         flipuv(false,false,false,false);
  1371.         priority(0);
  1372.         follow(true);
  1373. }
  1374.  
  1375. particle(fx_msikaflare)
  1376. {
  1377.         file(Fx_FlareHeader);
  1378.         lifespan(32);
  1379.         collision(false,0);
  1380.         rebound(0,false);
  1381.         coldeath(false);
  1382.         spawn(false);
  1383.         rotatewithdir(false);
  1384.         polystrip(false,false);
  1385.         tridi(false,0);
  1386.         rnd(0,0,0,0,0,0);
  1387.  
  1388.         sinusx(false,0,0,0);
  1389.         sinusy(false,0,0,0);
  1390.         sinusz(false,0,0,0);
  1391.  
  1392.         weight(0,0,0);
  1393.         angle(0,0,0);
  1394.         rotate(0,0,0,false);
  1395.         scale(2,2,false);
  1396.         fliccontrol(true,0,1,0);
  1397.         color(255,255,255,255);
  1398.         fader(0,0,0,8);
  1399.         trans(0,0);
  1400.         scalar(0,2,2);
  1401.         killwithactor(false);
  1402.         func(-1,-1,-1);
  1403.         flipuv(false,false,false,false);
  1404.         priority(0);
  1405.         follow(false);
  1406. }
  1407.  
  1408. particle(fx_halo)
  1409. {
  1410.         file(fx_puff3header);
  1411.         lifespan(16);
  1412.         collision(false,0);
  1413.         rebound(0,false);
  1414.         coldeath(false);
  1415.         spawn(false);
  1416.         rotatewithdir(false);
  1417.         polystrip(false,false);
  1418.         tridi(false,0);
  1419.         rnd(0,0,0,0,0,0);
  1420.  
  1421.         sinusx(false,0,0,0);
  1422.         sinusy(false,0,0,0);
  1423.         sinusz(false,0,0,0);
  1424.  
  1425.         weight(0,0,0);
  1426.         angle(0,0,0);
  1427.         rotate(0,0,0,false);
  1428.         scale(2,2,false);
  1429.         fliccontrol(true,0,0.5,0);
  1430.         color(255,255,255,255);
  1431.         fader(0,0,0,16);
  1432.         trans(0,0);
  1433.         scalar(0,2,2);
  1434.         killwithactor(false);
  1435.         func(-1,-1,-1);
  1436.         flipuv(false,false,false,false);
  1437.         priority(1);
  1438.         follow(false);
  1439. }
  1440.  
  1441. particle(fx_shockwave)
  1442. {
  1443.         file(fx_puff1header);
  1444.         lifespan(24);
  1445.         collision(false,0);
  1446.         rebound(0,false);
  1447.         coldeath(false);
  1448.         spawn(false);
  1449.         rotatewithdir(false);
  1450.         polystrip(false,false);
  1451.         tridi(false,0);
  1452.         rnd(0,0,0,0,0,0);
  1453.  
  1454.         sinusx(false,0,0,0);
  1455.         sinusy(true,512,6,0);
  1456.         sinusz(false,0,0,0);
  1457.  
  1458.         weight(0,0,0);
  1459.         angle(0,0,0);
  1460.         rotate(0,0,0,false);
  1461.         scale(5,5,false);
  1462.         fliccontrol(true,0,0.5,0);
  1463.         color(255,255,255,96);
  1464.         fader(0,0,0,0);
  1465.         trans(0,0);
  1466.         scalar(0,2,2);
  1467.         killwithactor(false);
  1468.         func(-1,-1,-1);
  1469.         flipuv(false,false,false,false);
  1470.         priority(0);
  1471.         follow(false);
  1472. }
  1473.  
  1474. particle(fx_shockwaver)
  1475. {
  1476.         file(fx_puff1header);
  1477.         lifespan(30);
  1478.         collision(false,0);
  1479.         rebound(0,false);
  1480.         coldeath(false);
  1481.  
  1482.         spawn(true);
  1483.         spawnfreq(0.1);
  1484.         spawnmax(30);
  1485.         spawnrecurs(false);
  1486.         spawninertia(true);
  1487.         spawnrnd(0,0,0,0,0,0);
  1488.         spawnfromstart(true);
  1489.         spawnlifespan(24);
  1490.         spawnweight(0,0,0);
  1491.  
  1492.         rotatewithdir(false);
  1493.         polystrip(false,false);
  1494.         tridi(false,0);
  1495.         rnd(0,0,0,0,0,0);
  1496.  
  1497.         sinusx(false,0,0,0);
  1498.         sinusy(false,0,0,0);
  1499.         sinusz(false,0,0,0);
  1500.  
  1501.         weight(0,0,0);
  1502.         angle(0,0,0);
  1503.         rotate(0,0,0,false);
  1504.         scale(15,15,false);
  1505.         fliccontrol(true,0,0.5,0);
  1506.         color(255,255,255,255);
  1507.         fader(0,0,0,0);
  1508.         trans(0,0);
  1509.         scalar(0,2,2);
  1510.         killwithactor(false);
  1511.         func(-1,-1,-1);
  1512.         flipuv(false,false,false,false);
  1513.         priority(0);
  1514.         follow(false);
  1515. }
  1516.  
  1517. particle(fx_flare)
  1518. {
  1519.         file(Fx_FlareHeader);
  1520.         lifespan(2);
  1521.         collision(false,0);
  1522.         rebound(0,false);
  1523.         coldeath(false);
  1524.         spawn(false);
  1525.         rotatewithdir(false);
  1526.         polystrip(false,false);
  1527.         tridi(false,0);
  1528.         rnd(0,0,0,0,0,0);
  1529.  
  1530.         sinusx(false,0,0,0);
  1531.         sinusy(false,0,0,0);
  1532.         sinusz(false,0,0,0);
  1533.  
  1534.         weight(0,0,0);
  1535.         angle(0,0,0);
  1536.         rotate(0,0,0,false);
  1537.         scale(10,10,false);
  1538.         fliccontrol(true,0,1,0);
  1539.         color(255,128,128,128);
  1540.         fader(0,0,0,0);
  1541.         trans(0,0);
  1542.         scalar(0,2,2);
  1543.         killwithactor(false);
  1544.         func(-1,-1,-1);
  1545.         flipuv(false,false,false,false);
  1546.         priority(0);
  1547.         follow(true);
  1548. }
  1549.  
  1550.  
  1551. particle(fx_icesmoke)
  1552. {
  1553.         file(fx_puff1header);
  1554.         lifespan(56);
  1555.         collision(false,0);
  1556.         rebound(0,false);
  1557.         coldeath(false);
  1558.         spawn(false);
  1559.  
  1560.         rotatewithdir(false);
  1561.         polystrip(false,false);
  1562.         tridi(false,0);
  1563.         rnd(0,0,0,0,0,0);
  1564.         rndmask(0,0,0,0,0,0);
  1565.  
  1566.         sinusx(false,0,0,0);
  1567.         sinusy(false,0,0,0);
  1568.         sinusz(false,0,0,0);
  1569.  
  1570.         weight(0,0.03,0);
  1571.         angle(0,0,0);
  1572.         rotate(0,0,64,true);
  1573.         scale(20,20,false);
  1574.         fliccontrol(true,0,0.2,0);
  1575.         color(128,128,192,255);
  1576.         fader(0,0,0,0);
  1577.         trans(0,0);
  1578.         scalar(2,2,2);
  1579.         killwithactor(false);
  1580.         func(-1,-1,-1);
  1581.         flipuv(false,false,false,false);
  1582.         priority(1);
  1583.         follow(false);
  1584. }
  1585.  
  1586. particle(fx_fagsmoke)
  1587. {
  1588.         file(fx_puff1header);
  1589.         lifespan(60);
  1590.         collision(false,0);
  1591.         rebound(0,false);
  1592.         coldeath(false);
  1593.         spawn(true);
  1594.         spawnfreq(1);
  1595.         spawnmax(5);
  1596.         spawnrecurs(false);
  1597.         spawninertia(false);
  1598.         spawnrnd(1,16,1,0,1,0);
  1599.         spawnfromstart(true);
  1600.         spawnlifespan(60);
  1601.         spawnweight(0,0,0);
  1602.  
  1603.         rotatewithdir(false);
  1604.         polystrip(false,false);
  1605.         tridi(false,0);
  1606.         rnd(1,16,1,0,1,0);
  1607.         rndmask(2,0,2,0,0,0);
  1608.  
  1609.         sinusx(false,0,0,0);
  1610.         sinusy(false,0,0,0);
  1611.         sinusz(false,0,0,0);
  1612.  
  1613.         weight(0,0,0);
  1614.         angle(0,0,0);
  1615.         rotate(0,0,64,true);
  1616.         scale(5,5,false);
  1617.         fliccontrol(true,0,0.2,0);
  1618.         color(128,128,128,96);
  1619.         fader(0,0,0,0);
  1620.         trans(0,0);
  1621.         scalar(2,2,2);
  1622.         killwithactor(false);
  1623.         func(-1,-1,-1);
  1624.         flipuv(false,false,false,false);
  1625.         priority(1);
  1626.         follow(false);
  1627. }
  1628.  
  1629.  
  1630. particle(fx_fagblow)
  1631. {
  1632.         file(fx_puff1header);
  1633.         lifespan(60);
  1634.         collision(false,0);
  1635.         rebound(0,false);
  1636.         coldeath(false);
  1637.         spawn(true);
  1638.         spawnfreq(1);
  1639.         spawnmax(5);
  1640.         spawnrecurs(false);
  1641.         spawninertia(false);
  1642.         spawnrnd(0,0,4,0,1,6);
  1643.         spawnfromstart(true);
  1644.         spawnlifespan(60);
  1645.         spawnweight(0,0,0.1);
  1646.  
  1647.         rotatewithdir(false);
  1648.         polystrip(false,false);
  1649.         tridi(false,0);
  1650.         rnd(0,0,4,0,1,6);
  1651.         rndmask(0,0,1,0,0,1);
  1652.  
  1653.         sinusx(false,0,0,0);
  1654.         sinusy(false,0,0,0);
  1655.         sinusz(false,0,0,0);
  1656.  
  1657.         weight(0,-0.05,0.1);
  1658.         angle(0,0,0);
  1659.         rotate(0,0,64,true);
  1660.         scale(6,6,false);
  1661.         fliccontrol(true,0,0.2,0);
  1662.         color(96,96,96,128);
  1663.         fader(0,0,0,0);
  1664.         trans(0,0);
  1665.         scalar(2,2,2);
  1666.         killwithactor(false);
  1667.         func(-1,-1,-1);
  1668.         flipuv(false,false,false,false);
  1669.         priority(1);
  1670.         follow(false);
  1671. }
  1672.  
  1673.  
  1674.  
  1675. //---------------------------------------------------------------------------- muzzle flashes fx
  1676. particle(fx_pakflash)
  1677. {
  1678.         file(fx_puff1header);
  1679.         lifespan(12);
  1680.         collision(false,0);
  1681.         rebound(0,false);
  1682.         coldeath(false);
  1683.         spawn(false);
  1684.  
  1685.         rotatewithdir(false);
  1686.         polystrip(false,true);
  1687.         tridi(false,0);
  1688.         rnd(0,0,0,0,0,0);
  1689.         rndmask(0,0,0,0,0,0);
  1690.  
  1691.         sinusx(false,0,0,true);
  1692.         sinusy(false,0,0,true);
  1693.         sinusz(false,0,0,true);
  1694.  
  1695.         weight(0,0.2,0);
  1696.         angle(0,0,0);
  1697.         rotate(0,0,0,false);
  1698.         scale(15,15,false);
  1699.         fliccontrol(true,0,1,0);
  1700.         color(156,156,192,255);
  1701.         fader(0,0,0,0);
  1702.         trans(0,0);
  1703.         scalar(0,2,2);
  1704.         killwithactor(false);
  1705.         func(-1,-1,-1);
  1706.         flipuv(false,false,false,false);
  1707.         priority(1);
  1708.         follow(false);
  1709. }
  1710.  
  1711.  
  1712. particle(fx_torch)
  1713. {
  1714.         file(fx_torchheader);
  1715.         lifespan(2);
  1716.         collision(false,0);
  1717.         rebound(0,false);
  1718.         coldeath(false);
  1719.         spawn(false);
  1720.         rotatewithdir(false);
  1721.         polystrip(false,false);
  1722.         tridi(true,0);
  1723.         rnd(0,0,0,0,0,0);
  1724.         rndmask(0,0,0,0,0,0);
  1725.  
  1726.         sinusx(false,0,0,0);
  1727.         sinusy(false,0,0,0);
  1728.         sinusz(false,0,0,0);
  1729.  
  1730.         weight(0,0,0);
  1731.         angle(0,0,-1024);
  1732.         rotate(0,0,0,false);
  1733.         scale(6,6,false);
  1734.         fliccontrol(false,0,0,1);
  1735.         color(255,255,255,192);
  1736.         fader(0,0,0,0);
  1737.         trans(0,0);
  1738.         scalar(0,2,2);
  1739.         killwithactor(false);
  1740.  
  1741.         func(-1,-1,-1);
  1742.         flipuv(false,false,false,false);
  1743.         priority(0);
  1744.         follow(true);
  1745. }
  1746.  
  1747. particle(fx_gunflash)
  1748. {
  1749.         file(fx_gunflashheader);
  1750.         lifespan(2);
  1751.         collision(false,0);
  1752.         rebound(0,false);
  1753.         coldeath(false);
  1754.         spawn(false);
  1755.         rotatewithdir(false);
  1756.         polystrip(false,false);
  1757.         tridi(true,0);
  1758.         rnd(0,0,0,0,0,0);
  1759.         rndmask(0,0,0,0,0,0);
  1760.  
  1761.         sinusx(false,0,0,0);
  1762.         sinusy(false,0,0,0);
  1763.         sinusz(false,0,0,0);
  1764.  
  1765.         weight(0,0,0);
  1766.         angle(0,0,-1024);
  1767.         rotate(0,0,0,false);
  1768.         scale(10,16,false);
  1769.         fliccontrol(false,0,1,0);
  1770.         color(192,192,192,192);
  1771.         fader(0,0,0,0);
  1772.         trans(0,0);
  1773.         scalar(0,2,2);
  1774.         killwithactor(false);
  1775.  
  1776.         func(-1,-1,-1);
  1777.         flipuv(false,false,false,false);
  1778.         priority(0);
  1779.         follow(true);
  1780. }
  1781.  
  1782. particle(fx_gunflashMachinegun)
  1783. {
  1784.         file(fx_gunflashheaderMachineGun);
  1785.         lifespan(2);
  1786.         collision(false,0);
  1787.         rebound(0,false);
  1788.         coldeath(false);
  1789.         spawn(false);
  1790.         rotatewithdir(false);
  1791.         polystrip(false,false);
  1792.         tridi(true,0);
  1793.         rnd(0,0,0,0,0,0);
  1794.         rndmask(0,0,0,0,0,0);
  1795.  
  1796.         sinusx(false,0,0,0);
  1797.         sinusy(false,0,0,0);
  1798.         sinusz(false,0,0,0);
  1799.  
  1800.         weight(0,0,0);
  1801.         angle(0,0,-1024);
  1802.         rotate(0,0,0,false);
  1803.         scale(10,16,false);
  1804.         fliccontrol(false,0,1,0);
  1805.         color(128,192,128,192);
  1806.         fader(0,0,0,0);
  1807.         trans(0,0);
  1808.         scalar(0,2,2);
  1809.         killwithactor(false);
  1810.  
  1811.         func(-1,-1,-1);
  1812.         flipuv(false,false,false,false);
  1813.         priority(0);
  1814.         follow(true);
  1815. }
  1816.  
  1817. particle(fx_gunflashPump)
  1818. {
  1819.         file(fx_gunflashheaderPump);
  1820.         lifespan(2);
  1821.         collision(false,0);
  1822.         rebound(0,false);
  1823.         coldeath(false);
  1824.         spawn(false);
  1825.         rotatewithdir(false);
  1826.         polystrip(false,false);
  1827.         tridi(true,0);
  1828.         rnd(0,0,0,0,0,0);
  1829.         rndmask(0,0,0,0,0,0);
  1830.  
  1831.         sinusx(false,0,0,0);
  1832.         sinusy(false,0,0,0);
  1833.         sinusz(false,0,0,0);
  1834.  
  1835.         weight(0,0,0);
  1836.         angle(0,0,-1024);
  1837.         rotate(0,0,0,false);
  1838.         scale(10,16,false);
  1839.         fliccontrol(false,0,1,0);
  1840.         color(192,192,192,192);
  1841.         fader(0,0,0,0);
  1842.         trans(0,0);
  1843.         scalar(0,2,2);
  1844.         killwithactor(false);
  1845.  
  1846.         func(-1,-1,-1);
  1847.         flipuv(false,false,false,false);
  1848.         priority(0);
  1849.         follow(true);
  1850. }
  1851.  
  1852. particle(fx_gunflashMaimer)
  1853. {
  1854.         file(fx_gunflashheaderMaimer);
  1855.         lifespan(2);
  1856.         collision(false,0);
  1857.         rebound(0,false);
  1858.         coldeath(false);
  1859.         spawn(false);
  1860.         rotatewithdir(false);
  1861.         polystrip(false,false);
  1862.         tridi(true,0);
  1863.         rnd(0,0,0,0,0,0);
  1864.         rndmask(0,0,0,0,0,0);
  1865.  
  1866.         sinusx(false,0,0,0);
  1867.         sinusy(false,0,0,0);
  1868.         sinusz(false,0,0,0);
  1869.  
  1870.         weight(0,0,0);
  1871.         angle(0,0,-1024);
  1872.         rotate(0,0,0,false);
  1873.         scale(10,16,false);
  1874.         fliccontrol(false,0,1,0);
  1875.         color(192,192,192,192);
  1876.         fader(0,0,0,0);
  1877.         trans(0,0);
  1878.         scalar(0,2,2);
  1879.         killwithactor(false);
  1880.  
  1881.         func(-1,-1,-1);
  1882.         flipuv(false,false,false,false);
  1883.         priority(0);
  1884.         follow(true);
  1885. }
  1886.  
  1887.  
  1888. particle(fx_gunstrobe)
  1889. {
  1890.         file(fx_gunstrobeheader);
  1891.         lifespan(2);
  1892.         collision(false,0);
  1893.         rebound(0,false);
  1894.         coldeath(false);
  1895.         spawn(false);
  1896.         rotatewithdir(false);
  1897.         polystrip(false,false);
  1898.         tridi(true,0);
  1899.         rnd(0,0,0,0,0,0);
  1900.  
  1901.         sinusx(false,0,0,0);
  1902.         sinusy(false,0,0,0);
  1903.         sinusz(false,0,0,0);
  1904.  
  1905.         weight(0,0,0);
  1906.         angle(1024,0,0);
  1907.         rotate(0,0,0,false);
  1908.         scale(15,15,false);
  1909.         fliccontrol(true,0,1,0);
  1910.         color(255,255,255,192);
  1911.         fader(0,0,0,0);
  1912.         trans(0,0);
  1913.         scalar(0,2,2);
  1914.         killwithactor(false);
  1915.         func(-1,-1,-1);
  1916.         flipuv(false,false,false,false);
  1917.         priority(0);
  1918.         follow(true);
  1919. }
  1920.  
  1921. particle(fx_gunflashturret)
  1922. {
  1923.         file(fx_gunflashheaderac);
  1924.         lifespan(2);
  1925.         collision(false,0);
  1926.         rebound(0,false);
  1927.         coldeath(false);
  1928.         spawn(false);
  1929.         rotatewithdir(false);
  1930.         polystrip(false,false);
  1931.         tridi(true,0);
  1932.         rnd(0,0,0,0,0,0);
  1933.         rndmask(0,0,0,0,0,0);
  1934.  
  1935.         sinusx(false,0,0,0);
  1936.         sinusy(false,0,0,0);
  1937.         sinusz(false,0,0,0);
  1938.  
  1939.         weight(0,0,0);
  1940.         angle(0,0,-1024);
  1941.         rotate(0,0,0,false);
  1942.         scale(10,10,false);
  1943.         fliccontrol(false,0,1,0);
  1944.         color(192,192,192,192);
  1945.         fader(0,0,0,0);
  1946.         trans(0,0);
  1947.         scalar(0,2,2);
  1948.         killwithactor(false);
  1949.  
  1950.         func(-1,-1,-1);
  1951.         flipuv(false,false,false,false);
  1952.         priority(0);
  1953.         follow(true);
  1954. }
  1955.  
  1956. particle(fx_gunbulletturretac)
  1957. {
  1958.         file(fx_gunflashheaderac);
  1959.         lifespan(8);
  1960.         collision(false,0);
  1961.         rebound(0,false);
  1962.         coldeath(false);
  1963.         spawn(false);
  1964.         rotatewithdir(false);
  1965.         polystrip(false,false);
  1966.         tridi(true,0);
  1967.         rnd(0,0,0,0,0,0);
  1968.         rndmask(0,0,0,0,0,0);
  1969.  
  1970.         sinusx(false,0,0,0);
  1971.         sinusy(false,0,0,0);
  1972.         sinusz(false,0,0,0);
  1973.  
  1974.         weight(0,0,0);
  1975.         angle(0,0,-1024);
  1976.         rotate(0,0,0,false);
  1977.         scale(10,10,false);
  1978.         fliccontrol(false,0,1,0);
  1979.         color(192,192,192,192);
  1980.         fader(0,0,0,0);
  1981.         trans(0,0);
  1982.         scalar(0,2,2);
  1983.         killwithactor(false);
  1984.  
  1985.         func(-1,-1,-1);
  1986.         flipuv(false,false,false,false);
  1987.         priority(0);
  1988.         follow(false);
  1989. }
  1990.  
  1991. particle(fx_gunflashturretac)
  1992. {
  1993.         file(fx_gunflashheaderac);
  1994.         lifespan(2);
  1995.         collision(false,0);
  1996.         rebound(0,false);
  1997.         coldeath(false);
  1998.         spawn(false);
  1999.         rotatewithdir(false);
  2000.         polystrip(false,false);
  2001.         tridi(true,0);
  2002.         rnd(0,0,0,0,0,0);
  2003.         rndmask(0,0,0,0,0,0);
  2004.  
  2005.         sinusx(false,0,0,0);
  2006.         sinusy(false,0,0,0);
  2007.         sinusz(false,0,0,0);
  2008.  
  2009.         weight(0,0,0);
  2010.         angle(0,0,-1024);
  2011.         rotate(0,0,0,false);
  2012.         scale(10,10,false);
  2013.         fliccontrol(false,0,1,0);
  2014.         color(192,192,192,192);
  2015.         fader(0,0,0,0);
  2016.         trans(0,0);
  2017.         scalar(0,2,2);
  2018.         killwithactor(false);
  2019.  
  2020.         func(-1,-1,-1);
  2021.         flipuv(false,false,false,false);
  2022.         priority(0);
  2023.         follow(true);
  2024. }
  2025.  
  2026. particle(fx_TurFlash)
  2027. {
  2028.         file(fx_gunflashheaderac);
  2029.         lifespan(2);
  2030.         collision(false,0);
  2031.         rebound(0,false);
  2032.         coldeath(false);
  2033.         spawn(false);
  2034.         rotatewithdir(false);
  2035.         polystrip(false,false);
  2036.         tridi(true,0);
  2037.         rnd(0,0,0,0,0,0);
  2038.         rndmask(0,0,0,0,0,0);
  2039.  
  2040.         sinusx(false,0,0,0);
  2041.         sinusy(false,0,0,0);
  2042.         sinusz(false,0,0,0);
  2043.  
  2044.         weight(0,0,0);
  2045.         angle(0,0,1024);
  2046.         rotate(0,2048,0,false);
  2047.         scale(10,10,false);
  2048.         fliccontrol(false,0,1,0);
  2049.         color(192,192,192,192);
  2050.         fader(0,0,0,0);
  2051.         trans(0,0);
  2052.         scalar(0,2,2);
  2053.         killwithactor(false);
  2054.  
  2055.         func(-1,-1,-1);
  2056.         flipuv(false,false,false,false);
  2057.         priority(0);
  2058.         follow(true);
  2059. }
  2060.  
  2061. particle(fx_gunstrobeturret)
  2062. {
  2063.         file(fx_gunstrobeheaderac);
  2064.         lifespan(2);
  2065.         collision(false,0);
  2066.         rebound(0,false);
  2067.         coldeath(false);
  2068.         spawn(false);
  2069.         rotatewithdir(false);
  2070.         polystrip(false,false);
  2071.         tridi(true,0);
  2072.         rnd(0,0,0,0,0,0);
  2073.  
  2074.         sinusx(false,0,0,0);
  2075.         sinusy(false,0,0,0);
  2076.         sinusz(false,0,0,0);
  2077.  
  2078.         weight(0,0,0);
  2079.         angle(1024,0,0);
  2080.         rotate(0,0,0,false);
  2081.         scale(12,12,false);
  2082.         fliccontrol(true,0,1,0);
  2083.         color(255,255,255,192);
  2084.         fader(0,0,0,0);
  2085.         trans(0,0);
  2086.         scalar(0,2,2);
  2087.         killwithactor(false);
  2088.         func(-1,-1,-1);
  2089.         flipuv(false,false,false,false);
  2090.         priority(0);
  2091.         follow(true);
  2092. }
  2093.  
  2094. particle(fx_gunstrobePump)
  2095. {
  2096.         file(fx_gunstrobeheaderPump);
  2097.         lifespan(2);
  2098.         collision(false,0);
  2099.         rebound(0,false);
  2100.         coldeath(false);
  2101.         spawn(false);
  2102.         rotatewithdir(false);
  2103.         polystrip(false,false);
  2104.         tridi(true,0);
  2105.         rnd(0,0,0,0,0,0);
  2106.  
  2107.         sinusx(false,0,0,0);
  2108.         sinusy(false,0,0,0);
  2109.         sinusz(false,0,0,0);
  2110.  
  2111.         weight(0,0,0);
  2112.         angle(1024,0,0);
  2113.         rotate(0,0,0,false);
  2114.         scale(15,15,false);
  2115.         fliccontrol(true,0,1,0);
  2116.         color(255,255,255,192);
  2117.         fader(0,0,0,0);
  2118.         trans(0,0);
  2119.         scalar(0,2,2);
  2120.         killwithactor(false);
  2121.         func(-1,-1,-1);
  2122.         flipuv(false,false,false,false);
  2123.         priority(0);
  2124.         follow(true);
  2125. }
  2126.  
  2127. particle(fx_gunstrobeMachineGun)
  2128. {
  2129.         file(fx_gunstrobeheaderMachineGun);
  2130.         lifespan(2);
  2131.         collision(false,0);
  2132.         rebound(0,false);
  2133.         coldeath(false);
  2134.         spawn(false);
  2135.         rotatewithdir(false);
  2136.         polystrip(false,false);
  2137.         tridi(true,0);
  2138.         rnd(0,0,0,0,0,0);
  2139.  
  2140.         sinusx(false,0,0,0);
  2141.         sinusy(false,0,0,0);
  2142.         sinusz(false,0,0,0);
  2143.  
  2144.         weight(0,0,0);
  2145.         angle(1024,0,0);
  2146.         rotate(0,0,0,false);
  2147.         scale(15,15,false);
  2148.         fliccontrol(true,0,1,0);
  2149.         color(220,255,220,192);
  2150.         fader(0,0,0,0);
  2151.         trans(0,0);
  2152.         scalar(0,2,2);
  2153.         killwithactor(false);
  2154.         func(-1,-1,-1);
  2155.         flipuv(false,false,false,false);
  2156.         priority(0);
  2157.         follow(true);
  2158. }
  2159.  
  2160. particle(fx_gunstrobeMaimer)
  2161. {
  2162.         file(fx_gunstrobeheaderMaimer);
  2163.         lifespan(2);
  2164.         collision(false,0);
  2165.         rebound(0,false);
  2166.         coldeath(false);
  2167.         spawn(false);
  2168.         rotatewithdir(false);
  2169.         polystrip(false,false);
  2170.         tridi(true,0);
  2171.         rnd(0,0,0,0,0,0);
  2172.  
  2173.         sinusx(false,0,0,0);
  2174.         sinusy(false,0,0,0);
  2175.         sinusz(false,0,0,0);
  2176.  
  2177.         weight(0,0,0);
  2178.         angle(1024,0,0);
  2179.         rotate(0,0,0,false);
  2180.         scale(13,13,false);
  2181.         fliccontrol(true,0,1,0);
  2182.         color(255,255,255,192);
  2183.         fader(0,0,0,0);
  2184.         trans(0,0);
  2185.         scalar(0,2,2);
  2186.         killwithactor(false);
  2187.         func(-1,-1,-1);
  2188.         flipuv(false,false,false,false);
  2189.         priority(0);
  2190.         follow(true);
  2191. }
  2192.  
  2193.  
  2194. particle(fx_coplaser)
  2195. {
  2196.         file(Fx_stripheader);
  2197.         lifespan(2);
  2198.         collision(true,0);
  2199.         rebound(0,false);
  2200.         coldeath(false);
  2201.         spawn(false);
  2202.         rotatewithdir(false);
  2203.  
  2204.         sinusx(false,0,0,0);
  2205.         sinusy(false,0,0,0);
  2206.         sinusz(false,0,0,0);
  2207.  
  2208.         polystrip(true,true);
  2209.         tridi(true,0);
  2210.         rnd(0,0,0,0,0,0);
  2211.  
  2212.         weight(0,0,0);
  2213.         angle(0,0,0);
  2214.         rotate(0,0,0,false);
  2215.         scale(1,10,false);
  2216.         fliccontrol(false,0,1,0);
  2217.         color(255,8,8,128);
  2218.         fader(0,0,0,0);
  2219.         trans(0,0);
  2220.         scalar(0,2,2);
  2221.         killwithactor(false);
  2222.         func(-1,-1,-1);
  2223.         flipuv(false,false,false,false);
  2224.         priority(0);
  2225.         follow(true);
  2226. }
  2227.  
  2228. //---------------------------------------------------------------------------- explosion & trails fx
  2229.  
  2230. particle(fx_explosionshards)
  2231. {
  2232.         file(fx_stripheader);
  2233.         lifespan(32);
  2234.         collision(false,0);
  2235.         rebound(0,false);
  2236.         coldeath(false);
  2237.         spawn(true);
  2238.         spawnfreq(1.2);
  2239.         spawnmax(7);
  2240.         spawnrecurs(true);
  2241.         spawninertia(false);
  2242.         spawnfromstart(true);
  2243.         spawnrnd(0,0,0,18,18,18);
  2244.         spawnlifespan(32);
  2245.         spawnweight(0.05,0.15,0.05);
  2246.  
  2247.         rotatewithdir(false);
  2248.         polystrip(true,false);
  2249.         tridi(false,-256);
  2250.         rnd(0,0,0,18,18,18);
  2251.         rndmask(0,0,0,2,2,2);
  2252.  
  2253.         sinusx(false,0,0,0);
  2254.         sinusy(false,0,0,0);
  2255.         sinusz(false,0,0,0);
  2256.  
  2257.         weight(0.05,0.15,0.05);
  2258.         angle(0,0,0);
  2259.         rotate(0,0,0,false);
  2260.         scale(1,8,false);
  2261.         fliccontrol(false,0,0.25,0);
  2262.         color(255,255,255,255);
  2263.         fader(8,0,0,8);
  2264.         trans(0,0);
  2265.         scalar(0,2,2);
  2266.         killwithactor(false);
  2267.         func(-1,-1,-1);
  2268.         flipuv(false,false,false,false);
  2269.         priority(1);
  2270.         follow(false);
  2271. }
  2272.  
  2273. particle(fx_vshrapnel)
  2274. {
  2275.         file(fx_shrapnelheader);
  2276.         lifespan(32);
  2277.         collision(true,10);
  2278.         rebound(1.2,false);
  2279.         coldeath(false);
  2280.         spawn(true);
  2281.         spawnfreq(0.5);
  2282.         spawnmax(32);
  2283.         spawnrecurs(false);
  2284.         spawninertia(false);
  2285.         spawnfromstart(false);
  2286.         spawnrnd(0,0,0,0,0,0);
  2287.         spawnlifespan(32);
  2288.         spawnweight(0,0,0);
  2289.  
  2290.         rotatewithdir(false);
  2291.         polystrip(false,false);
  2292.         tridi(false,-256);
  2293.         rnd(96,96,96,18,22,18);
  2294.         rndmask(0,0,0,2,2,2);
  2295.  
  2296.         sinusx(false,0,0,0);
  2297.         sinusy(false,0,0,0);
  2298.         sinusz(false,0,0,0);
  2299.  
  2300.         weight(0.05,0.1,0.05);
  2301.         angle(0,0,0);
  2302.         rotate(0,0,128,true);
  2303.         scale(10,10,false);
  2304.         fliccontrol(true,0,0.5,0);
  2305.         color(255,255,255,255);
  2306.         fader(0,0,0,8);
  2307.         trans(0,6);
  2308.         scalar(0,2,2);
  2309.         killwithactor(false);
  2310.         func(-1,-1,-1);
  2311.         flipuv(false,false,false,false);
  2312.         priority(1);
  2313.         follow(false);
  2314. }
  2315.  
  2316. particle(fx_hshrapnel)
  2317. {
  2318.         file(fx_shrapnelheader);
  2319.         lifespan(32);
  2320.         collision(true,10);
  2321.         rebound(1.2,false);
  2322.         coldeath(false);
  2323.         spawn(true);
  2324.         spawnfreq(0.5);
  2325.         spawnmax(32);
  2326.         spawnrecurs(false);
  2327.         spawninertia(false);
  2328.         spawnfromstart(false);
  2329.         spawnrnd(0,0,0,0,0,0);
  2330.         spawnlifespan(32);
  2331.         spawnweight(0,0,0);
  2332.  
  2333.         rotatewithdir(false);
  2334.         polystrip(false,false);
  2335.         tridi(false,-256);
  2336.         rnd(96,96,96,18,26,18);
  2337.         rndmask(0,0,0,2,0,2);
  2338.  
  2339.         sinusx(false,0,0,0);
  2340.         sinusy(false,0,0,0);
  2341.         sinusz(false,0,0,0);
  2342.  
  2343.         weight(0.05,0.2,0.05);
  2344.         angle(0,0,0);
  2345.         rotate(0,0,128,true);
  2346.         scale(10,10,false);
  2347.         fliccontrol(true,0,0.5,0);
  2348.         color(255,255,255,255);
  2349.         fader(0,0,0,8);
  2350.         trans(0,6);
  2351.         scalar(0,2,2);
  2352.         killwithactor(false);
  2353.         func(-1,-1,-1);
  2354.         flipuv(false,false,false,false);
  2355.         priority(0);
  2356.         follow(false);
  2357. }
  2358.  
  2359. particle(fx_bazookatrail)
  2360. {
  2361.         file(fx_btrailheader);
  2362.         lifespan(64);
  2363.         collision(false,0);
  2364.         rebound(0,false);
  2365.         coldeath(false);
  2366.         spawn(false);
  2367.  
  2368.         rotatewithdir(false);
  2369.         polystrip(false,false);
  2370.         tridi(false,0);
  2371.         rnd(0,0,0,1,1,0);
  2372.         rndmask(0,0,0,2,2,0);
  2373.  
  2374.         sinusx(false,0,0,0);
  2375.         sinusy(false,0,0,0);
  2376.         sinusz(false,0,0,0);
  2377.  
  2378.         weight(0,-0.005,0);
  2379.         angle(0,0,0);
  2380.         rotate(0,0,32,false);
  2381.         scale(28,28,false);
  2382.         fliccontrol(true,0,0.25,0);
  2383.         color(255,255,225,100);
  2384.         fader(0,0,0,1);
  2385.         trans(0,0);
  2386.         scalar(2,20,20);
  2387.         killwithactor(false);
  2388.         func(-1,-1,-1);
  2389.         flipuv(false,false,false,false);
  2390.         priority(0);
  2391.         follow(false);
  2392. }
  2393.  
  2394. particle(fx_mainexplosion)
  2395. {
  2396.         file(fx_xplobigheader);
  2397.         lifespan(32);
  2398.         collision(false,0);
  2399.         rebound(0,false);
  2400.         coldeath(false);
  2401.         spawn(true);
  2402.         spawnfreq(0.25);
  2403.         spawnmax(2);
  2404.         spawnrecurs(false);
  2405.         spawninertia(false);
  2406.         spawnfromstart(false);
  2407.         spawnrnd(128,128,128,0,0,0);
  2408.         spawnlifespan(32);
  2409.         spawnweight(0,0,0);
  2410.  
  2411.         rotatewithdir(false);
  2412.         polystrip(false,false);
  2413.         tridi(false,-256);
  2414.         rnd(0,0,0,0,0,0);
  2415.         rndmask(2,2,2,0,0,0);
  2416.  
  2417.         sinusx(false,0,0,0);
  2418.         sinusy(false,0,0,0);
  2419.         sinusz(false,0,0,0);
  2420.  
  2421.         weight(0,-0.001,0);
  2422.         angle(0,0,0);
  2423.         rotate(0,0,8,true);
  2424.         scale(30,30,false);
  2425.         fliccontrol(true,0,0.5,0);
  2426.         color(255,255,255,255);
  2427.         fader(0,0,0,0);
  2428.         trans(0,0);
  2429.         scalar(0,2,2);
  2430.         killwithactor(false);
  2431.         func(-1,-1,-1);
  2432.         //func(fx_hshrapnel,fx_vshrapnel,_pFuncNormal);
  2433.         flipuv(false,false,false,false);
  2434.         priority(0);
  2435.         follow(false);
  2436. }
  2437.  
  2438.  
  2439. particle(fx_mainexplosion2)
  2440. {
  2441.         file(fx_xplobigheader);
  2442.         lifespan(32);
  2443.         collision(false,0);
  2444.         rebound(0,false);
  2445.         coldeath(false);
  2446.         spawn(true);
  2447.         spawnfreq(0.25);
  2448.         spawnmax(2);
  2449.         spawnrecurs(false);
  2450.         spawninertia(false);
  2451.         spawnfromstart(false);
  2452.         spawnrnd(128,128,128,0,0,0);
  2453.         spawnlifespan(32);
  2454.         spawnweight(0,0,0);
  2455.  
  2456.         rotatewithdir(false);
  2457.         polystrip(false,false);
  2458.         tridi(false,0);
  2459.         rnd(0,0,0,0,0,0);
  2460.         rndmask(2,2,2,0,0,0);
  2461.  
  2462.         sinusx(false,0,0,0);
  2463.         sinusy(false,0,0,0);
  2464.         sinusz(false,0,0,0);
  2465.  
  2466.         weight(0,-0.001,0);
  2467.         angle(0,0,0);
  2468.         rotate(0,0,8,true);
  2469.         scale(30,30,false);
  2470.         fliccontrol(true,0,0.5,0);
  2471.         color(255,255,255,255);
  2472.         fader(0,0,0,0);
  2473.         trans(0,0);
  2474.         scalar(0,2,2);
  2475.         killwithactor(false);
  2476.         func(-1,-1,-1);
  2477.         //func(fx_hshrapnel,fx_vshrapnel,_pFuncNormal);
  2478.         flipuv(false,false,false,false);
  2479.         priority(1);
  2480.         follow(false);
  2481. }
  2482.  
  2483.  
  2484. particle(fx_explosionsmoke)
  2485. {
  2486.         file(fx_expcloudheader);
  2487.         lifespan(128);
  2488.         collision(false,0);
  2489.         rebound(0,false);
  2490.         coldeath(false);
  2491.         spawn(true);
  2492.         spawnfreq(1);
  2493.         spawnmax(16);
  2494.         spawnrecurs(false);
  2495.         spawninertia(false);
  2496.         spawnfromstart(false);
  2497.         spawnrnd(96,96,96,0,0,0);
  2498.         spawnlifespan(128);
  2499.         spawnweight(0,-0.002,0);
  2500.  
  2501.         rotatewithdir(false);
  2502.         polystrip(false,false);
  2503.         tridi(false,-256);
  2504.         rnd(0,0,0,0,0,0);
  2505.         rndmask(2,2,2,0,0,0);                                           
  2506.  
  2507.         sinusx(false,0,0,0);
  2508.         sinusy(false,0,0,0);
  2509.         sinusz(false,0,0,0);
  2510.  
  2511.         weight(0,-0.002,0);
  2512.         angle(0,0,0);
  2513.         rotate(0,0,6,true);
  2514.         scale(30,30,false);
  2515.         fliccontrol(false,0,0.25,0);
  2516.         color(255,255,255,128);
  2517.         fader(0,0,0,1);
  2518.         trans(1,0);
  2519.         scalar(2,4,4);
  2520.         killwithactor(false);
  2521.         func(-1,-1,-1);
  2522.         //func(fx_hshrapnel,fx_vshrapnel,_pFuncNormal);
  2523.         flipuv(false,false,false,false);
  2524.         priority(1);
  2525.         follow(false);
  2526. }
  2527.  
  2528. particle(fx_smallexplosion)
  2529. {
  2530.         file(fx_xplosmallheader);
  2531.         lifespan(24);
  2532.         collision(false,0);
  2533.         rebound(0,false);
  2534.         coldeath(false);
  2535.         spawn(false);
  2536.         rotatewithdir(false);
  2537.         polystrip(false,false);
  2538.         tridi(false,-32);
  2539.         rnd(0,0,0,0,0,0);
  2540.         rndmask(0,0,0,0,0,0);
  2541.  
  2542.         sinusx(false,0,0,0);
  2543.         sinusy(false,0,0,0);
  2544.         sinusz(false,0,0,0);
  2545.  
  2546.         weight(0,0,0);
  2547.         angle(0,0,0);
  2548.         rotate(0,0,0,false);
  2549.         scale(30,30,false);
  2550.         fliccontrol(true,0,0.5,0);
  2551.         color(255,255,255,255);
  2552.         fader(0,0,0,0);
  2553.         trans(0,0);
  2554.         scalar(0,2,2);
  2555.         killwithactor(false);
  2556.         func(-1,-1,-1);
  2557.         flipuv(false,false,false,false);
  2558.         priority(0);
  2559.         follow(false);
  2560. }
  2561.  
  2562.  
  2563. //---------------------------------------------------------------------------- 
  2564.  
  2565. particle(fx_SpinStrip)
  2566. {
  2567.         file(fx_stripheader);
  2568.         lifespan(16);
  2569.         collision(false,0);
  2570.         rebound(0,false);
  2571.         coldeath(false);
  2572.         spawn(true);
  2573.         spawnfreq(1);
  2574.         spawnmax(16);
  2575.         spawnrecurs(false);
  2576.         spawninertia(false);
  2577.         spawnrnd(0,0,0,0,0,0);
  2578.         rotatewithdir(false);
  2579.         spawnfromstart(false);
  2580.         spawnlifespan(64);
  2581.         spawnweight(0,0,0);
  2582.  
  2583.         polystrip(true,true);
  2584.         tridi(true,0);
  2585.         rnd(0,0,0,0,0,0);
  2586.  
  2587.         sinusx(true,64,6,true); // sinus[axis](enable,increment,range,randomness);
  2588.         sinusy(false,0,0,false);
  2589.         sinusz(true,64,6,true);
  2590.  
  2591.         weight(0,-0.4,0);
  2592.         angle(0,0,0);
  2593.         rotate(0,0,0,false);
  2594.         scale(1,12,false);
  2595.         fliccontrol(false,0,0.5,0);
  2596.         color(220,220,35,255);
  2597.         fader(0,0,0,4);
  2598.         trans(0,0);
  2599.         scalar(0,2,2);
  2600.         killwithactor(false);
  2601.         func(-1,-1,-1);
  2602.         flipuv(false,false,false,false);
  2603.         priority(0);
  2604.         follow(false);
  2605. }
  2606.  
  2607. particle(fx_TurretStrip)
  2608. {
  2609.         file(fx_stripheader);
  2610.         lifespan(16);
  2611.         collision(false,0);
  2612.         rebound(0,false);
  2613.         coldeath(false);
  2614.         spawn(true);
  2615.         spawnfreq(1);
  2616.         spawnmax(16);
  2617.         spawnrecurs(false);
  2618.         spawninertia(false);
  2619.         spawnrnd(0,0,0,0,0,0);
  2620.         rotatewithdir(false);
  2621.         spawnfromstart(false);
  2622.         spawnlifespan(32);
  2623.         spawnweight(0,0,0);
  2624.  
  2625.         polystrip(true,true);
  2626.         tridi(true,0);
  2627.         rnd(0,0,0,0,0,0);
  2628.  
  2629. /*
  2630.         sinusx(false,0,0,0);
  2631.         sinusy(false,0,0,0);
  2632.         sinusz(false,0,0,0);
  2633. */
  2634.  
  2635.         sinusx(true,128,12,true);
  2636.         sinusy(true,128,12,true);
  2637.         sinusz(true,128,12,true);
  2638.  
  2639.         weight(0,0,0);
  2640.         angle(0,0,0);
  2641.         rotate(0,0,0,false);
  2642.         scale(1,12,false);
  2643.         fliccontrol(false,0,0.5,0);
  2644.         color(128,128,128,255);
  2645.         fader(0,0,0,8);
  2646.         trans(0,0);
  2647.         scalar(0,2,2);
  2648.         killwithactor(false);
  2649.         func(-1,-1,-1);
  2650.         flipuv(false,false,false,false);
  2651.         priority(0);
  2652.         follow(false);
  2653. }
  2654.  
  2655. particle(fx_windspecks)
  2656. {
  2657.         file(fx_puff3header);
  2658.         lifespan(64);
  2659.         collision(false,0);
  2660.         rebound(0,false);
  2661.         coldeath(false);
  2662.         spawn(false);
  2663.  
  2664.         rotatewithdir(false);
  2665.         polystrip(true,false);
  2666.         tridi(false,true);
  2667.         rnd(128,0,128,0,0,0);
  2668.         rndmask(2,0,2,0,0,0);
  2669.  
  2670.         sinusx(true,64,2,true);
  2671.         sinusy(false,0,0,true);
  2672.         sinusz(true,64,2,true);
  2673.  
  2674.         weight(0,-0.1,0);
  2675.         angle(0,0,0);
  2676.         rotate(0,0,0,false);
  2677.         scale(1,2,false);
  2678.         fliccontrol(false,0,1,0);
  2679.         color(192,192,255,255);
  2680.         fader(0,0,0,3);
  2681.         trans(0,0);
  2682.         scalar(0,2,2);
  2683.         killwithactor(false);
  2684.         func(-1,-1,-1);
  2685.         flipuv(false,false,false,false);
  2686.         priority(1);
  2687.         follow(false);
  2688. }
  2689.  
  2690. particle(fx_windmatter)
  2691. {
  2692.         file(fx_puff3header);
  2693.         lifespan(48);
  2694.         collision(false,0);
  2695.         rebound(0,false);
  2696.         coldeath(false);
  2697.         spawn(true);
  2698.         spawnfreq(1);
  2699.         spawnmax(48);
  2700.         spawnrecurs(false);
  2701.         spawninertia(false);
  2702.         spawnrnd(0,0,0,0,0,0);
  2703.         spawnfromstart(false);
  2704.         spawnlifespan(48);
  2705.         spawnweight(0,0,0);
  2706.  
  2707.         rotatewithdir(false);
  2708.         polystrip(true,false);
  2709.         tridi(true,0);
  2710.         rnd(64,0,64,0,0,0);
  2711.         rndmask(2,0,2,0,0,0);
  2712.  
  2713.         sinusx(true,64,4,true);
  2714.         sinusy(false,0,0,true);
  2715.         sinusz(true,64,4,true);
  2716.  
  2717.         weight(0,-0.1,0);
  2718.         angle(0,0,0);
  2719.         rotate(0,0,0,false);
  2720.         scale(2,3,false);
  2721.         fliccontrol(false,0,1,0);
  2722.         color(128,128,128,128);
  2723.         fader(0,0,0,2);
  2724.         trans(0,0);
  2725.         scalar(0,2,2);
  2726.         killwithactor(false);
  2727.         func(-1,-1,-1);
  2728.         flipuv(false,false,false,false);
  2729.         priority(0);
  2730.         follow(false);
  2731. }
  2732.  
  2733. particle(fx_torchsparks)
  2734. {
  2735.         file(fx_stripheader);
  2736.         lifespan(64);
  2737.         collision(true,5);
  2738.         rebound(1.3,false);
  2739.         coldeath(false);
  2740.         spawn(true);
  2741.         spawnfreq(1);
  2742.         spawnmax(2);
  2743.         spawnrecurs(true);
  2744.         spawninertia(false);
  2745.         spawnrnd(0,0,0,4,3,4);
  2746.         spawnfromstart(true);
  2747.         spawnlifespan(64);
  2748.         spawnweight(0,0.05,0);
  2749.  
  2750.         rotatewithdir(false);
  2751.         polystrip(true,false);
  2752.         tridi(false,0);
  2753.         rnd(0,0,0,4,3,4);
  2754.         rndmask(0,0,0,2,1,2);
  2755.  
  2756.         sinusx(false,0,0,0);
  2757.         sinusy(false,0,0,0);
  2758.         sinusz(false,0,0,0);
  2759.  
  2760.         weight(0.1,0.05,0.1);
  2761.         angle(0,0,0);
  2762.         rotate(0,0,0,false);
  2763.         scale(1,1,false);
  2764.         fliccontrol(false,0,0.5,0);
  2765.         color(255,128,128,255);
  2766.         fader(0,1,2,0);
  2767.         trans(2,0);
  2768.         scalar(0,2,2);
  2769.         killwithactor(false);
  2770.         func(-1,-1,-1);
  2771.         flipuv(false,false,false,false);
  2772.         priority(1);
  2773.         follow(false);
  2774. }
  2775.  
  2776.  
  2777. //---------------------------------------------------------------------------- 
  2778.  
  2779. particle(fx_sparks)
  2780. {
  2781.         file(fx_stripheader);
  2782.         lifespan(32);
  2783.         collision(false,0);
  2784.         rebound(0,false);
  2785.         coldeath(false);
  2786.         spawn(true);
  2787.         spawnfreq(1);
  2788.         spawnmax(2);
  2789.         spawnrecurs(true);
  2790.         spawninertia(false);
  2791.         spawnrnd(0,0,0,3,3,3);
  2792.         spawnfromstart(true);
  2793.         spawnlifespan(32);
  2794.         spawnweight(0,0.05,0);
  2795.  
  2796.         rotatewithdir(false);
  2797.         polystrip(true,false);
  2798.         tridi(false,0);
  2799.         rnd(0,0,0,3,3,3);
  2800.         rndmask(0,0,0,2,1,2);
  2801.  
  2802.         sinusx(false,0,0,0);
  2803.         sinusy(false,0,0,0);
  2804.         sinusz(false,0,0,0);
  2805.  
  2806.         weight(0.1,0.05,0.1);
  2807.         angle(0,0,0);
  2808.         rotate(0,0,0,false);
  2809.         scale(1,1,false);
  2810.         fliccontrol(false,0,0.5,0);
  2811.         color(255,128,128,255);
  2812.         fader(0,2,4,0);
  2813.         trans(2,0);
  2814.         scalar(0,2,2);
  2815.         killwithactor(false);
  2816.         func(-1,-1,-1);
  2817.         flipuv(false,false,false,false);
  2818.         priority(1);
  2819.         follow(false);
  2820. }
  2821.  
  2822. particle(fx_impactsparks)
  2823. {
  2824.         file(fx_stripheader);
  2825.         lifespan(4);
  2826.         collision(false,0);
  2827.         rebound(0,false);
  2828.         coldeath(false);
  2829.         spawn(true);
  2830.         spawnfreq(1);
  2831.         spawnmax(4);
  2832.         spawnrecurs(true);
  2833.         spawninertia(false);
  2834.         spawnrnd(0,0,0,12,12,12);
  2835.         spawnfromstart(true);
  2836.         spawnlifespan(4);
  2837.         spawnweight(0,0,0);
  2838.  
  2839.         rotatewithdir(false);
  2840.         polystrip(true,false);
  2841.         tridi(true,0);
  2842.         rnd(0,0,0,12,12,12);
  2843.         rndmask(0,0,0,2,2,2);
  2844.  
  2845.         sinusx(false,0,0,0);
  2846.         sinusy(false,0,0,0);
  2847.         sinusz(false,0,0,0);
  2848.  
  2849.         weight(0,0,0);
  2850.         angle(0,0,0);
  2851.         rotate(0,0,0,false);
  2852.         scale(1,2,false);
  2853.         fliccontrol(false,0,0.5,0);
  2854.         color(251,147,77,255);
  2855.         fader(0,0,0,0);
  2856.         trans(0,0);
  2857.         scalar(0,2,2);
  2858.         killwithactor(false);
  2859.         func(-1,-1,-1);
  2860.         flipuv(false,false,false,false);
  2861.         priority(1);
  2862.         follow(false);
  2863. }
  2864.  
  2865. particle(fx_impactpuff)
  2866. {
  2867.         file(fx_puff1header);
  2868.         lifespan(24);
  2869.         collision(false,0);
  2870.         rebound(0,false);
  2871.         coldeath(false);
  2872.         spawn(false);
  2873.         rotatewithdir(false);
  2874.  
  2875.         polystrip(false,false);
  2876.         tridi(false,0);
  2877.         rnd(0,4,0,0,4,0);
  2878.         rndmask(0,0,0,0,0,0);
  2879.  
  2880.         sinusx(false,0,0,0);
  2881.         sinusy(false,0,0,0);
  2882.         sinusz(false,0,0,0);
  2883.  
  2884.         weight(0,0,0);
  2885.         angle(0,0,0);
  2886.         rotate(0,0,0,false);
  2887.         scale(15,15,false);
  2888.         fliccontrol(true,0,0.5,0);
  2889.         color(255,255,255,128);
  2890.         fader(0,0,0,0);
  2891.         trans(0,0);
  2892.         scalar(0,2,2);
  2893.         killwithactor(false);
  2894.         func(-1,-1,-1);
  2895.         flipuv(false,false,false,false);
  2896.         priority(1);
  2897.         follow(false);
  2898. }
  2899.  
  2900. particle(fx_weaponsmoke)
  2901. {
  2902.         file(fx_puff1header);
  2903.         lifespan(48);
  2904.         collision(false,0);
  2905.         rebound(0,false);
  2906.         coldeath(false);
  2907.         spawn(true);
  2908.         spawnfreq(1);
  2909.         spawnmax(5);
  2910.         spawnrecurs(false);
  2911.         spawninertia(false);
  2912.         spawnrnd(0,1,0,1,2,1);
  2913.         spawnfromstart(true);
  2914.         spawnlifespan(48);
  2915.         spawnweight(0,0,0);
  2916.  
  2917.         rotatewithdir(false);
  2918.         polystrip(false,false);
  2919.         tridi(false,0);
  2920.         rnd(1,1,1,1,2,1);
  2921.         rndmask(2,0,2,2,0,2);
  2922.  
  2923.         sinusx(false,0,0,0);
  2924.         sinusy(false,0,0,0);
  2925.         sinusz(false,0,0,0);
  2926.  
  2927.         weight(0.05,0,0.05);
  2928.         angle(0,0,0);
  2929.         rotate(0,0,64,true);
  2930.         scale(22,22,false);
  2931.         fliccontrol(true,0,0.25,0);
  2932.         color(255,255,255,128);
  2933.         fader(0,0,0,1);
  2934.         trans(0,0);
  2935.         scalar(2,2,2);
  2936.         killwithactor(false);
  2937.         func(-1,-1,-1);
  2938.         flipuv(false,false,false,false);
  2939.         priority(1);
  2940.         follow(false);
  2941. }
  2942.  
  2943.